line = input().split(' ')
if int(line[0])<-20 or int(line[1])>50:
    print("Invalid.")
else:
    print("celsius    fahr")
    for i in range(int(line[0]),int(line[1])+1,2):
        print(f"{i}{i*1.8+32:>14.1f}")
